<!--
 * @Author: levi7754 levi7754@163.com
 * @Date: 2025-10-11 16:45:44
 * @LastEditors: levi7754 levi7754@163.com
 * @LastEditTime: 2025-10-12 17:39:40
 * @FilePath: \udp-nature-mall\App.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script>
	import i18n from './locale/index'
	export default {
		onLaunch: function() {
			// console.warn('当前组件仅支持 uni_modules 目录结构 ，请升级 HBuilderX 到 3.1.0 版本以上！')
			console.log('App Launch')
		},
		onShow: function() {
			// console.log('App Show')
			uni.setLocale('en')
			i18n.global.locale = 'en'
		},
		onHide: function() {
			// console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';
	
	@import "@/static/font/iconfont.css";
	@import "@/style/index.scss";
	// 设置整个项目的背景色
	page {
		background-color: #f5f5f5;
	}

	/* #endif */
	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}
</style>
